
const IntentSection = ({ data }) => {
    return (
        <div className="response-section intent-section">
            <div className="section-header">
                <span className="section-icon">
                    <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2.5" strokeLinecap="round" strokeLinejoin="round">
                        <circle cx="12" cy="12" r="3"/>
                        <path d="M12 1v6m0 6v6m11-7h-6m-6 0H1"/>
                    </svg>
                </span>
                <span className="section-title">意图识别</span>
                <span className="timestamp">{data.timestamp}</span>
            </div>
            <div className="section-content">
                <div className="intent-result">{data.data?.result}</div>
            </div>
        </div>
    );
};

export default IntentSection;